#pragma once
#include<string>
#include<fstream>
#include<iostream>
#include"reserveEstimation.h"

using std::string;

namespace EstimationByML
{
	struct BP_para
	{
		int hidenLayer;
		double learningRate;
	};

	struct Decisiontree_para
	{
		int max_depth;
	};
	vector<CString> my_para;

	void UseBPEXE(string arg);
	string GetInputTXT(vector<MinePoint*> points);
	string GetEstimateTXT(vector<MineCube*> cubes);
	void Getatg(vector<CString> b);
	vector<string> ReturnEvaluate();
	//BP_para GetBPPara(vector<CString> a);
	string GetBPPara(int layer, double lr);
	string GetDTreePara(int depth);
	string GetRTreePara(int estimator);
	string GetSVMPara(double C);
	string GetCMDCommand(string input_filename, string output_filename, string arg);
	void setResult(vector<MineCube*> cubes);
}